package zzu.mxd.answer.mapper;

import org.apache.ibatis.annotations.Param;
import zzu.mxd.answer.entity.Recording;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import zzu.mxd.answer.vo.RecordExtend;
import zzu.mxd.answer.vo.RecordingVO;


import java.util.List;

/**
 * <p>
 * 答题记录表 Mapper 接口
 * </p>
 *
 * @author mxd
 * @since 2018-11-08
 */
public interface RecordingMapper extends BaseMapper<Recording> {

    Integer selectCount(@Param("subjectId") long subjectId, @Param("studentId") String studentId1);

    List<RecordingVO> selectBySubjectId(@Param("subjectId") long subjectId, @Param("studentId") String studentId);

    List<RecordExtend> selectRecordingExByStudentId(@Param("studentId") String studentId, @Param("isRight")Integer idRight);
}
